package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/11/3 14:11
 */
@FieldTypeAnnotation(tableName = "t_l_ck_fishpond_upgrade", desc = "鱼类晋升日志", autoSave = true, uploadCk = true)
public class LogFishPondFishUpgrade extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "鱼类id")
    private int fishId;
    @FieldTypeAnnotation(desc = "鱼类品质")
    private int quality;
    @FieldTypeAnnotation(desc = "当前等级")
    private int curLv;
    @FieldTypeAnnotation(desc = "旧等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "消耗数量")
    private long costNum;

    public LogFishPondFishUpgrade(long userId, int fishId, int quality, int curLv, int oldLv, long costNum) {
        this.userId = userId;
        this.fishId = fishId;
        this.quality = quality;
        this.curLv = curLv;
        this.oldLv = oldLv;
        this.costNum = costNum;
    }

    public long getUserId() {
        return userId;
    }
}
